package com.springcloud.sc.ucp.v5.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("ucp_user_detail_info")
public class UcpUserDetailInfo extends Model<UcpUserDetailInfo>{
    private static final long serialVersionUID = 1L;

    @TableId(value="DN", type= IdType.ID_WORKER_STR)
    private String DN;

    @TableField("Latitude")
    private Double Latitude;

    @TableField("Longitude")
    private Double Longitude;

    @TableField("clearTime")
    private String clearTime;

    @TableField("direction")
    private Integer direction;

    @TableField("endTime")
    private String endTime;

    @TableField("startTime")
    private String startTime;

    @TableField("height")
    private Double height;

    @TableField("nodeid")
    private String nodeid;

    @TableField("route")
    private String route;

    @TableField("speed")
    private Double speed;

    @TableField("status")
    private Integer status;

    @TableField("totalRoute")
    private String totalRoute;

    @TableField("userCallStatus")
    private String userCallStatus;

    @TableField("userStatus")
    private String userStatus;

    @TableField("userType")
    private String userType;

    protected Serializable pkVal() {
        return this.DN;
    }

}

